<?php
/**
 * @name myMsSQL Project
 * @copyright GPL
 * @author Hakan DAMAR
 * @abstract System and database configuration
 */

/*
 * SQL Connection Information
 */
class SystemConfig{
	protected static $Server = "(local)";
	protected static $Username = "myDBA";
	protected static $Password = "010101";
	protected static $Database = "myMsSQL";
	protected $systemPath;
	
	protected function _getConfig(){
		$connectionArr = array("Database"=>self::$Database,
								"UID"=>self::$Username,
								"PWD"=>self::$Password);
		return $connectionArr;
	}
	
	protected static function _getServer(){
		return self::$Server;
	}
	
	public static function _getPath(){
		$rootPath = $_SERVER["DOCUMENT_ROOT"];
		$this->systemPath = $rootPath."root/MyMsSQL/";
		return $rootPath;
	}
	
}
/*
define("Server","(local)");
define("Username","myDBA");
define("Password","010101");
define("Database","myMsSQL");
*/
?>